package com.design_patterns.command;

import java.util.ArrayList;
import java.util.List;

/**
 * @author: 李德才
 * @description:
 * @create: 2020-09-19 17:16
 **/
public class Content {
    public List<String> stringList = new ArrayList<>();

    @Override
    public String toString() {
        StringBuffer buffer = new StringBuffer();
        stringList.forEach(string -> {
            buffer.append(string + "\r\n");
        });
        return "Content{" +
                "stringList= \r\n" + buffer.toString() +
                '}';
    }
}
